<% form_tag :controller => 'myoffice', :action => 'login' do %>
<h2>Login</h2>
<label>Email<label><br />
<%= text_field_tag :email, params[:email], :class => 'text' %><br />
<label>Password<label><br />
<%= password_field_tag :password, params[:password], :class => 'text' %>
<br />
<%= submit_tag "Login" , :class => "button" %>&nbsp;&nbsp;<%=link_to 'Trouble logging in?',:controller => 'myoffice', :action => 'forgot_password'%>
<%end %>